package pm.project.factory;


import pm.user.factory.UserFactory;
import pm.user.service.UserService;
import pm.project.service.ProjectService;

public class ProjectFactory {
	private static ProjectFactory instance;
	private ProjectService project;

	private ProjectFactory() {
		project = new ProjectService();
	}

	public static synchronized ProjectFactory getInstance() {
		if (instance == null) {
			instance = new ProjectFactory();
		}
		return instance;
	}

	public ProjectService createProjectService() {
		return project;
	}
}
